package com.lxf.cn.service.async;

import com.alibaba.fastjson.JSONObject;
import com.lxf.cn.dao.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Async;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.stereotype.Service;

/**
 * Created by liaoxuefeng on 2018/11/8.
 */

//@Service
//@EnableAsync
public class GoodsService {


    @Autowired
    UserMapper userMapper  ;

    @Async
    public  void getUser(JSONObject params){
        userMapper.findAllUser(params);
    }



}
